//Function:show the usage of inline function and the const keyword.

#include <iostream>
using namespace std;
inline float cube(const float value);
int main()
{
	float sideValue;
	float area;
	cout << "Enter the number of side:" << endl;
	cin >> sideValue;
	area = cube(sideValue);
	cout << "The area of cube is:" << area << endl;
	return 0;
}
inline float cube(float value)
{
	float areaLocal;
	areaLocal = value*value*value;
	value = 0;
	return areaLocal;	
}
